package com.example.guestbook.service.impl;

import com.example.guestbook.mapper.BooklistMapper;
import com.example.guestbook.pojo.Booklist;
import com.example.guestbook.service.IBooklistService;
import lombok.Data;

@Data
public class BooklistServiceImpl implements IBooklistService {

    BooklistMapper booklistMapper;

    @Override
    public void add(Booklist booklist)
    {
        // 调用 mapper
        booklistMapper.insert(booklist);
    }
}